﻿using RpcModel;

namespace RpcClient
{
    #region 无数据返回的委托

    public delegate void RpcAction();
    public delegate void RpcAction<T>(T data);
    public delegate void RpcActionSource<T>(T data, MsgSource source);
    #endregion

    #region 返回数据的委托

    public delegate Result RpcFunc<T, Result>(T data);

    public delegate Result RpcFunc<Result>();

    public delegate Result RpcFuncSource<T, Result>(T data, MsgSource source);

    #endregion


}
